/*
 * @Description: 登录相关接口
 * @Autor: lds
 * @LastEditors: lds
 */

// https://cupfox.app/s/33
// https://cupfox.app/_next/data/XxN59Fbbb1wV2k6_1ZV3U/s/33.json?key=33
import request from '../utils/request'


// 用户登录
export const http = (method:'get'|'post'|'put'|'delete'='get',url:string,params:Object={}) => {
    // 返回的数据格式可以和服务端约定
    return request[method]<any>(url, params);
}